import os
from Schema import Schema
from files import normalize_path
from Installer import Installer

_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))


def main():
    print('It works!')
    schema = Schema(normalize_path(_SCRIPT_DIR, '../resources/sy.json'))
    # schema = Schema(normalize_path(_SCRIPT_DIR, '../resources/imeasy_zrwb86.json'))
    schema.build()
    # installer = Installer(normalize_path(_SCRIPT_DIR, '../resources'), normalize_path(_SCRIPT_DIR, '../dist'))
    # installer.build()


if __name__ == '__main__':
    main()
